<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1, user-scalable=no">
  <meta name="description" content="API docs for the LocalConversationServicePlatform class from the nim_core_v2 library, for the Dart programming language.">
  <title>LocalConversationServicePlatform class - nim_core_v2 library - Dart API</title>


  
  <link rel="preconnect" href="https://fonts.gstatic.com">
  <link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,300;0,400;0,500;0,700;1,400&display=swap" rel="stylesheet">
  <link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" rel="stylesheet">
  
  <link rel="stylesheet" href="../static-assets/github.css?v1">
  <link rel="stylesheet" href="../static-assets/styles.css?v1">
  <link rel="icon" href="../static-assets/favicon.png?v1">
  
</head>

<body data-base-href="../" data-using-base-href="false" class="light-theme">
<div id="overlay-under-drawer"></div>
<header id="title">
  <span id="sidenav-left-toggle" class="material-symbols-outlined" role="button" tabindex="0">menu</span>
  <ol class="breadcrumbs gt-separated dark hidden-xs">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core.dart</a></li>
    <li class="self-crumb">LocalConversationServicePlatform class</li>
  </ol>
  <div class="self-name">LocalConversationServicePlatform</div>
  <form class="search navbar-right" role="search">
    <input type="text" id="search-box" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
  <div class="toggle" id="theme-button" title="Toggle brightness">
    <label for="theme">
      <input type="checkbox" id="theme" value="light-theme">
      <span id="dark-theme-button" class="material-symbols-outlined">
        dark_mode
      </span>
      <span id="light-theme-button" class="material-symbols-outlined">
        light_mode
      </span>
    </label>
  </div>
</header>
<main>
<div
    id="dartdoc-main-content"
    class="main-content"
    data-above-sidebar="nim_core_v2&#47;nim_core_v2-library-sidebar.html"
    data-below-sidebar="nim_core_v2&#47;LocalConversationServicePlatform-class-sidebar.html">
    <div>
<h1><span class="kind-class">LocalConversationServicePlatform</span> class 
    <a href="https://dart.dev/language/class-modifiers#abstract" class="feature feature-abstract" title="This type can not be directly constructed.">abstract</a>
 
</h1></div>

    


    <section>
      <dl class="dl-horizontal">
        
  <dt>Inheritance</dt>
  <dd>
    <ul class="gt-separated dark clazz-relationships">
      <li><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></li>
        <li>PlatformInterface</li>
      <li>LocalConversationServicePlatform</li>
    </ul>
  </dd>

        
        


        
        


      </dl>
    </section>

    
  <section class="summary offset-anchor" id="constructors">
    <h2>Constructors</h2>
    <dl class="constructor-summary-list">
        <dt id="LocalConversationServicePlatform" class="callable">
          <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/LocalConversationServicePlatform.html">LocalConversationServicePlatform</a></span><span class="signature">()</span>
        </dt>
        <dd>
          
        </dd>
    </dl>
  </section>
    
  <section
      class="summary offset-anchor"
      id="instance-properties">
    <h2>Properties</h2>
    <dl class="properties">
        <dt id="hashCode" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/hashCode.html">hashCode</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>
  

</dt>
<dd class="inherited">
  The hash code for this object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

        <dt id="onConversationChanged" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onConversationChanged.html">onConversationChanged</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onConversationCreated" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onConversationCreated.html">onConversationCreated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onConversationDeleted" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onConversationDeleted.html">onConversationDeleted</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onConversationReadTimeUpdated" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onConversationReadTimeUpdated.html">onConversationReadTimeUpdated</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/ReadTimeUpdateResult-class.html">ReadTimeUpdateResult</a></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSyncFailed" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onSyncFailed.html">onSyncFailed</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSyncFinished" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onSyncFinished.html">onSyncFinished</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onSyncStarted" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onSyncStarted.html">onSyncStarted</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onTotalUnreadCountChanged" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onTotalUnreadCountChanged.html">onTotalUnreadCountChanged</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="onUnreadCountChangedByFilter" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onUnreadCountChangedByFilter.html">onUnreadCountChangedByFilter</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Stream-class.html">Stream</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/UnreadChangeFilterResult-class.html">UnreadChangeFilterResult</a></span>&gt;</span></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">no setter</span></div>

</dd>

        <dt id="runtimeType" class="property inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/runtimeType.html">runtimeType</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Type-class.html">Type</a></span>
  

</dt>
<dd class="inherited">
  A representation of the runtime type of the object.
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

        <dt id="serviceName" class="property inherited">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/serviceName.html">serviceName</a></span>
  <span class="signature">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  

</dt>
<dd class="inherited">
  
  <div class="features"><span class="feature">no setter</span><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>

    
  <section
      class="summary offset-anchor"
      id="instance-methods">
    <h2>Methods</h2>
    <dl class="callables">
        <dt id="clearTotalUnreadCount" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/clearTotalUnreadCount.html">clearTotalUnreadCount</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  清空本地会话未读数
  

</dd>

        <dt id="clearUnreadCountByIds" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/clearUnreadCountByIds.html">clearUnreadCountByIds</a></span><span class="signature">(<wbr><span class="parameter" id="clearUnreadCountByIds-param-conversationIds"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">conversationIds</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversationOperationResult-class.html">NIMConversationOperationResult</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据会话id清空本地会话未读数
  

</dd>

        <dt id="clearUnreadCountByTypes" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/clearUnreadCountByTypes.html">clearUnreadCountByTypes</a></span><span class="signature">(<wbr><span class="parameter" id="clearUnreadCountByTypes-param-conversationTypes"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversationType.html">NIMConversationType</a></span>&gt;</span></span> <span class="parameter-name">conversationTypes</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据会话类型清空相应本地会话的未读数
  

</dd>

        <dt id="createConversation" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/createConversation.html">createConversation</a></span><span class="signature">(<wbr><span class="parameter" id="createConversation-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  创建本地会话
  

</dd>

        <dt id="deleteConversation" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/deleteConversation.html">deleteConversation</a></span><span class="signature">(<wbr><span class="parameter" id="deleteConversation-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span>, </span><span class="parameter" id="deleteConversation-param-clearMessage"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">clearMessage</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  删除本地会话
  

</dd>

        <dt id="deleteConversationListByIds" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/deleteConversationListByIds.html">deleteConversationListByIds</a></span><span class="signature">(<wbr><span class="parameter" id="deleteConversationListByIds-param-conversationIds"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">conversationIds</span>, </span><span class="parameter" id="deleteConversationListByIds-param-clearMessage"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">clearMessage</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversationOperationResult-class.html">NIMConversationOperationResult</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  删除本地会话列表
  

</dd>

        <dt id="getConversation" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getConversation.html">getConversation</a></span><span class="signature">(<wbr><span class="parameter" id="getConversation-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取本地会话列表，通过会话id
  

</dd>

        <dt id="getConversationList" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getConversationList.html">getConversationList</a></span><span class="signature">(<wbr><span class="parameter" id="getConversationList-param-offset"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">offset</span>, </span><span class="parameter" id="getConversationList-param-limit"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">limit</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversationResult-class.html">NIMConversationResult</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取本地会话列表
  

</dd>

        <dt id="getConversationListByIds" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getConversationListByIds.html">getConversationListByIds</a></span><span class="signature">(<wbr><span class="parameter" id="getConversationListByIds-param-conversationIds"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">conversationIds</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据会话id获取本地会话列表
  

</dd>

        <dt id="getConversationListByOption" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getConversationListByOption.html">getConversationListByOption</a></span><span class="signature">(<wbr><span class="parameter" id="getConversationListByOption-param-offset"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">offset</span>, </span><span class="parameter" id="getConversationListByOption-param-limit"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span> <span class="parameter-name">limit</span>, </span><span class="parameter" id="getConversationListByOption-param-option"><span class="type-annotation"><a href="../nim_core_v2/NIMConversationOption-class.html">NIMConversationOption</a>?</span> <span class="parameter-name">option</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversationResult-class.html">NIMConversationResult</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据查询参数获取本地会话列表
  

</dd>

        <dt id="getConversationReadTime" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getConversationReadTime.html">getConversationReadTime</a></span><span class="signature">(<wbr><span class="parameter" id="getConversationReadTime-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取本地会话已读时间戳
当前只支持P2P，高级群， 超大群
  

</dd>

        <dt id="getStickTopConversationList" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getStickTopConversationList.html">getStickTopConversationList</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMConversation-class.html">NIMConversation</a></span>&gt;</span></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  查询当前全量置顶的会话列表
排序方式：倒序
  

</dd>

        <dt id="getTotalUnreadCount" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getTotalUnreadCount.html">getTotalUnreadCount</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  获取本地会话总未读数
  

</dd>

        <dt id="getUnreadCountByFilter" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getUnreadCountByFilter.html">getUnreadCountByFilter</a></span><span class="signature">(<wbr><span class="parameter" id="getUnreadCountByFilter-param-filter"><span class="type-annotation"><a href="../nim_core_v2/NIMConversationFilter-class.html">NIMConversationFilter</a></span> <span class="parameter-name">filter</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据过滤条件获取相应本地会话的未读数
  

</dd>

        <dt id="getUnreadCountByIds" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/getUnreadCountByIds.html">getUnreadCountByIds</a></span><span class="signature">(<wbr><span class="parameter" id="getUnreadCountByIds-param-conversationIds"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/List-class.html">List</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>&gt;</span></span> <span class="parameter-name">conversationIds</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  根据会话id获取本地会话未读数
  

</dd>

        <dt id="handleMethodCall" class="callable inherited">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/handleMethodCall.html">handleMethodCall</a></span><span class="signature">(<wbr><span class="parameter" id="handleMethodCall-param-method"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">method</span>, </span><span class="parameter" id="handleMethodCall-param-arguments"><span class="type-annotation">dynamic</span> <span class="parameter-name">arguments</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a></span>
  </span>
  

</dt>
<dd class="inherited">
  
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="invokeMethod" class="callable inherited">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/invokeMethod.html">invokeMethod</a></span><span class="signature">(<wbr><span class="parameter" id="invokeMethod-param-method"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">method</span>, {</span><span class="parameter" id="invokeMethod-param-arguments"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span>?</span> <span class="parameter-name">arguments</span></span>})
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/Map-class.html">Map</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>, <span class="type-parameter">dynamic</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd class="inherited">
  
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="markConversationRead" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/markConversationRead.html">markConversationRead</a></span><span class="signature">(<wbr><span class="parameter" id="markConversationRead-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="https://api.flutter.dev/flutter/dart-core/int-class.html">int</a></span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  标记会话已读时间戳
当前只支持P2P，高级群， 超大群
  

</dd>

        <dt id="noSuchMethod" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/noSuchMethod.html">noSuchMethod</a></span><span class="signature">(<wbr><span class="parameter" id="noSuchMethod-param-invocation"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Invocation-class.html">Invocation</a></span> <span class="parameter-name">invocation</span></span>)
    <span class="returntype parameter">&#8594; dynamic</span>
  </span>
  

</dt>
<dd class="inherited">
  Invoked when a nonexistent method or property is accessed.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="onEvent" class="callable inherited">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/onEvent.html">onEvent</a></span><span class="signature">(<wbr><span class="parameter" id="onEvent-param-method"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">method</span>, </span><span class="parameter" id="onEvent-param-arguments"><span class="type-annotation">dynamic</span> <span class="parameter-name">arguments</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a></span>
  </span>
  

</dt>
<dd class="inherited">
  
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="registerWebAPI" class="callable inherited">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/registerWebAPI.html">registerWebAPI</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; void</span>
  </span>
  

</dt>
<dd class="inherited">
  
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="stickTopConversation" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/stickTopConversation.html">stickTopConversation</a></span><span class="signature">(<wbr><span class="parameter" id="stickTopConversation-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span>, </span><span class="parameter" id="stickTopConversation-param-stickTop"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span> <span class="parameter-name">stickTop</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  置顶会话
  

</dd>

        <dt id="subscribeUnreadCountByFilter" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/subscribeUnreadCountByFilter.html">subscribeUnreadCountByFilter</a></span><span class="signature">(<wbr><span class="parameter" id="subscribeUnreadCountByFilter-param-filter"><span class="type-annotation"><a href="../nim_core_v2/NIMConversationFilter-class.html">NIMConversationFilter</a></span> <span class="parameter-name">filter</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">NIMError?</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  订阅指定过滤条件的本地会话未读数
  

</dd>

        <dt id="toString" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/toString.html">toString</a></span><span class="signature">(<wbr>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span>
  </span>
  

</dt>
<dd class="inherited">
  A string representation of this object.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

        <dt id="unsubscribeUnreadCountByFilter" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/unsubscribeUnreadCountByFilter.html">unsubscribeUnreadCountByFilter</a></span><span class="signature">(<wbr><span class="parameter" id="unsubscribeUnreadCountByFilter-param-filter"><span class="type-annotation"><a href="../nim_core_v2/NIMConversationFilter-class.html">NIMConversationFilter</a></span> <span class="parameter-name">filter</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">NIMError?</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  取消订阅指定过滤条件的本地会话未读数
filter 过滤条件
@return 是否取消订阅成功，成功返回null，失败返回V2NIMError
  

</dd>

        <dt id="updateConversationLocalExtension" class="callable">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/updateConversationLocalExtension.html">updateConversationLocalExtension</a></span><span class="signature">(<wbr><span class="parameter" id="updateConversationLocalExtension-param-conversationId"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">conversationId</span>, </span><span class="parameter" id="updateConversationLocalExtension-param-localExtension"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/String-class.html">String</a></span> <span class="parameter-name">localExtension</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/Future-class.html">Future</a><span class="signature">&lt;<wbr><span class="type-parameter"><a href="../nim_core_v2/NIMResult-class.html">NIMResult</a><span class="signature">&lt;<wbr><span class="type-parameter">void</span>&gt;</span></span>&gt;</span></span>
  </span>
  

</dt>
<dd>
  更新本地会话本地扩展字段
  

</dd>

    </dl>
  </section>
    
  <section
      class="summary offset-anchor inherited"
      id="operators">
    <h2>Operators</h2>
    <dl class="callables">
        <dt id="operator ==" class="callable inherited">
  <span class="name"><a href="https://api.flutter.dev/flutter/dart-core/Object/operator_equals.html">operator ==</a></span><span class="signature">(<wbr><span class="parameter" id="==-param-other"><span class="type-annotation"><a href="https://api.flutter.dev/flutter/dart-core/Object-class.html">Object</a></span> <span class="parameter-name">other</span></span>)
    <span class="returntype parameter">&#8594; <a href="https://api.flutter.dev/flutter/dart-core/bool-class.html">bool</a></span>
  </span>
  

</dt>
<dd class="inherited">
  The equality operator.
  <div class="features"><span class="feature">inherited</span></div>

</dd>

    </dl>
  </section>
    
  <section class="summary offset-anchor" id="static-properties">
    <h2>Static Properties</h2>
    <dl class="properties">
        <dt id="instance" class="property">
  <span class="name"><a href="../nim_core_v2/LocalConversationServicePlatform/instance.html">instance</a></span>
  <span class="signature">&#8596; <a href="../nim_core_v2/LocalConversationServicePlatform-class.html">LocalConversationServicePlatform</a></span>
  

</dt>
<dd>
  
  <div class="features"><span class="feature">getter/setter pair</span></div>

</dd>

    </dl>
  </section>
    
    

  </div> <!-- /.main-content -->
  <div id="dartdoc-sidebar-left" class="sidebar sidebar-offcanvas-left">
    <!-- The search input and breadcrumbs below are only responsively visible at low resolutions. -->
<header id="header-search-sidebar" class="hidden-l">
  <form class="search-sidebar" role="search">
    <input type="text" id="search-sidebar" autocomplete="off" disabled class="form-control typeahead" placeholder="Loading search...">
  </form>
</header>
<ol class="breadcrumbs gt-separated dark hidden-l" id="sidebar-nav">
    <li><a href="../index.html">nim_core_v2</a></li>
    <li><a href="../nim_core_v2/nim_core_v2-library.html">nim_core_v2</a></li>
    <li class="self-crumb">LocalConversationServicePlatform class</li>
</ol>

    <h5>nim_core_v2 library</h5>
    <div id="dartdoc-sidebar-left-content"></div>
  </div>
  <div id="dartdoc-sidebar-right" class="sidebar sidebar-offcanvas-right">
  </div><!--/.sidebar-offcanvas-->
</main>
<footer>
  <span class="no-break">
    nim_core_v2
      10.9.2-ohos-beta
  </span>
  
</footer>


<script src="../static-assets/highlight.pack.js?v1"></script>
<script src="../static-assets/docs.dart.js"></script>

</body>
</html>

